<!DOCTYPE html>
<html lang="zh-CN">
<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>视频分享 - 慢生活 · 旅行日记</title>
  <script src="https://cdn.tailwindcss.com"></script>
  <link href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.7.2/css/all.min.css" rel="stylesheet">
  <link href="https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap" rel="stylesheet">
  
  <script>
    tailwind.config = {
      theme: {
        extend: {
          colors: {
            primary: '#165DFF',
            secondary: '#FF7D00',
            neutral: '#F5F7FA',
            dark: '#333647',
          },
          fontFamily: {
            inter: ['Inter', 'sans-serif'],
          },
        },
      }
    }
  </script>
  
  <style type="text/tailwindcss">
    @layer utilities {
      .content-auto {
        content-visibility: auto;
      }
      .text-shadow {
        text-shadow: 0 2px 4px rgba(0,0,0,0.1);
      }
      .text-shadow-lg {
        text-shadow: 0 4px 8px rgba(0,0,0,0.12), 0 2px 4px rgba(0,0,0,0.08);
      }
      .animate-float {
        animation: float 6s ease-in-out infinite;
      }
      .animate-float-delay-1 {
        animation: float 6s ease-in-out 1s infinite;
      }
      .animate-float-delay-2 {
        animation: float 6s ease-in-out 2s infinite;
      }
      .video-card {
        transition: all 0.5s cubic-bezier(0.2, 0.8, 0.2, 1);
      }
      .video-card:hover {
        transform: translateY(-8px);
      }
      .video-card:hover .video-thumbnail {
        transform: scale(1.05);
        filter: brightness(1.05);
      }
      .video-thumbnail {
        transition: all 0.7s cubic-bezier(0.2, 0.8, 0.2, 1);
      }
      .play-button {
        opacity: 0;
        transform: scale(0.8);
        transition: all 0.3s ease-out;
      }
      .video-card:hover .play-button {
        opacity: 1;
        transform: scale(1);
      }
      .skeleton {
        background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
        background-size: 200% 100%;
        animation: skeleton-loading 1.5s infinite;
      }
      @keyframes skeleton-loading {
        0% {
          background-position: 200% 0;
        }
        100% {
          background-position: -200% 0;
        }
      }
      .grid-mask {
        mask-image: linear-gradient(to bottom, black 85%, transparent 100%);
        -webkit-mask-image: linear-gradient(to bottom, black 85%, transparent 100%);
      }
    }
    
    @keyframes float {
      0% { transform: translateY(0px); }
      50% { transform: translateY(-15px); }
      100% { transform: translateY(0px); }
    }
  </style>
</head>
<body class="font-inter bg-neutral text-dark min-h-screen">
  <!-- 页面容器 -->
  <div id="app" class="min-h-screen flex flex-col">
    <!-- 导航栏 -->
    <nav class="fixed top-0 left-0 right-0 bg-white/90 backdrop-blur-md z-50 transition-all duration-300 shadow-sm">
      <div class="container mx-auto px-4 py-4 flex justify-between items-center">
        <a href="#" class="text-2xl font-bold text-primary flex items-center">
          <i class="fa-solid fa-paper-plane mr-2"></i>
          <span>慢生活</span>
        </a>
        
        <div class="hidden md:flex space-x-8">
          <a href="#" class="nav-link font-medium">首页</a>
          <a href="#" class="nav-link font-medium">旅行足迹</a>
          <a href="#" class="nav-link font-medium text-primary">视频分享</a>
          <a href="#" class="nav-link font-medium">照片墙</a>
          <a href="#" class="nav-link font-medium">日历</a>
        </div>
        
        <div class="md:hidden">
          <button id="menu-toggle" class="text-dark focus:outline-none">
            <i class="fa-solid fa-bars text-xl"></i>
          </button>
        </div>
      </div>
      
      <!-- 移动端菜单 -->
      <div id="mobile-menu" class="hidden md:hidden bg-white border-t">
        <div class="container mx-auto px-4 py-3 flex flex-col space-y-3">
          <a href="#" class="py-2 font-medium">首页</a>
          <a href="#" class="py-2 font-medium">旅行足迹</a>
          <a href="#" class="py-2 font-medium">视频分享</a>
          <a href="#" class="py-2 font-medium">照片墙</a>
          <a href="#" class="py-2 font-medium">日历</a>
        </div>
      </div>
    </nav>
    
    <!-- 页面内容 -->
    <main class="flex-grow pt-16">
      <!-- 视频分享列表 -->
      <section class="py-16 bg-white">
        <div class="container mx-auto px-4">
          <!-- 页面标题 -->
          <div class="text-center mb-12">
            <h2 class="text-[clamp(1.8rem,5vw,3rem)] font-bold text-dark mb-4">精彩视频</h2>
            <div class="w-20 h-1 bg-primary mx-auto mb-6"></div>
            <p class="text-lg text-dark/70 max-w-2xl mx-auto">记录旅行中的每一个精彩瞬间，分享生活中的点滴感动</p>
          </div>
          
          <!-- 视频分类筛选 -->
          <div class="flex flex-wrap justify-center gap-3 mb-12">
            <button class="bg-primary text-white px-5 py-2 rounded-full text-sm font-medium shadow-md hover:shadow-lg transition-shadow">
              全部
            </button>
            <button class="bg-white text-dark/70 hover:bg-primary hover:text-white px-5 py-2 rounded-full text-sm font-medium shadow-md hover:shadow-lg transition-all">
              自然风光
            </button>
            <button class="bg-white text-dark/70 hover:bg-primary hover:text-white px-5 py-2 rounded-full text-sm font-medium shadow-md hover:shadow-lg transition-all">
              城市探索
            </button>
            <button class="bg-white text-dark/70 hover:bg-primary hover:text-white px-5 py-2 rounded-full text-sm font-medium shadow-md hover:shadow-lg transition-all">
              美食体验
            </button>
            <button class="bg-white text-dark/70 hover:bg-primary hover:text-white px-5 py-2 rounded-full text-sm font-medium shadow-md hover:shadow-lg transition-all">
              人文历史
            </button>
            <button class="bg-white text-dark/70 hover:bg-primary hover:text-white px-5 py-2 rounded-full text-sm font-medium shadow-md hover:shadow-lg transition-all">
              旅行攻略
            </button>
          </div>
          
          <!-- 视频列表 - 新颖布局 -->
          <div class="grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-8 mb-16">
            <!-- 视频卡片 1 -->
            <div class="video-card bg-white rounded-xl overflow-hidden shadow-lg">
              <div class="relative h-56 overflow-hidden">
                <img src="https://picsum.photos/id/29/800/600" alt="三亚旅行Vlog" class="video-thumbnail w-full h-full object-cover">
                <div class="absolute inset-0 bg-gradient-to-t from-black/70 via-black/30 to-transparent"></div>
                <div class="absolute top-3 right-3 bg-black/70 text-white text-xs px-2 py-1 rounded">12:34</div>
                <div class="absolute inset-0 flex items-center justify-center">
                  <button class="play-button bg-primary/90 hover:bg-primary text-white w-14 h-14 rounded-full flex items-center justify-center shadow-lg">
                    <i class="fa-solid fa-play text-xl"></i>
                  </button>
                </div>
              </div>
              <div class="p-5">
                <h3 class="font-semibold text-dark text-lg mb-2 line-clamp-2">三亚旅行Vlog | 碧海蓝天下的浪漫之旅</h3>
                <div class="flex items-center justify-between mb-3">
                  <div class="flex items-center">
                    <img src="https://picsum.photos/id/64/100/100" alt="作者头像" class="w-8 h-8 rounded-full object-cover">
                    <span class="ml-2 text-sm text-dark/70">慢生活</span>
                  </div>
                  <span class="text-sm text-dark/60"><i class="fa-solid fa-eye mr-1"></i> 2.4万</span>
                </div>
                <div class="flex items-center justify-between">
                  <div class="flex space-x-2">
                    <span class="bg-neutral text-dark/70 text-xs px-3 py-1 rounded-full">旅行</span>
                    <span class="bg-neutral text-dark/70 text-xs px-3 py-1 rounded-full">海滩</span>
                  </div>
                  <span class="text-sm text-dark/60">3天前</span>
                </div>
              </div>
            </div>
            
            <!-- 视频卡片 2 -->
            <div class="video-card bg-white rounded-xl overflow-hidden shadow-lg">
              <div class="relative h-56 overflow-hidden">
                <img src="https://picsum.photos/id/42/800/600" alt="成都美食探索" class="video-thumbnail w-full h-full object-cover">
                <div class="absolute inset-0 bg-gradient-to-t from-black/70 via-black/30 to-transparent"></div>
                <div class="absolute top-3 right-3 bg-black/70 text-white text-xs px-2 py-1 rounded">8:15</div>
                <div class="absolute inset-0 flex items-center justify-center">
                  <button class="play-button bg-primary/90 hover:bg-primary text-white w-14 h-14 rounded-full flex items-center justify-center shadow-lg">
                    <i class="fa-solid fa-play text-xl"></i>
                  </button>
                </div>
              </div>
              <div class="p-5">
                <h3 class="font-semibold text-dark text-lg mb-2 line-clamp-2">成都美食探索 | 舌尖上的麻辣诱惑</h3>
                <div class="flex items-center justify-between mb-3">
                  <div class="flex items-center">
                    <img src="https://picsum.photos/id/64/100/100" alt="作者头像" class="w-8 h-8 rounded-full object-cover">
                    <span class="ml-2 text-sm text-dark/70">慢生活</span>
                  </div>
                  <span class="text-sm text-dark/60"><i class="fa-solid fa-eye mr-1"></i> 3.8万</span>
                </div>
                <div class="flex items-center justify-between">
                  <div class="flex space-x-2">
                    <span class="bg-neutral text-dark/70 text-xs px-3 py-1 rounded-full">美食</span>
                    <span class="bg-neutral text-dark/70 text-xs px-3 py-1 rounded-full">成都</span>
                  </div>
                  <span class="text-sm text-dark/60">1周前</span>
                </div>
              </div>
            </div>
            
            <!-- 视频卡片 3 -->
            <div class="video-card bg-white rounded-xl overflow-hidden shadow-lg">
              <div class="relative h-56 overflow-hidden">
                <img src="https://picsum.photos/id/65/800/600" alt="北京城市风光" class="video-thumbnail w-full h-full object-cover">
                <div class="absolute inset-0 bg-gradient-to-t from-black/70 via-black/30 to-transparent"></div>
                <div class="absolute top-3 right-3 bg-black/70 text-white text-xs px-2 py-1 rounded">15:20</div>
                <div class="absolute inset-0 flex items-center justify-center">
                  <button class="play-button bg-primary/90 hover:bg-primary text-white w-14 h-14 rounded-full flex items-center justify-center shadow-lg">
                    <i class="fa-solid fa-play text-xl"></i>
                  </button>
                </div>
              </div>
              <div class="p-5">
                <h3 class="font-semibold text-dark text-lg mb-2 line-clamp-2">北京城市风光 | 古今交融的千年古都</h3>
                <div class="flex items-center justify-between mb-3">
                  <div class="flex items-center">
                    <img src="https://picsum.photos/id/64/100/100" alt="作者头像" class="w-8 h-8 rounded-full object-cover">
                    <span class="ml-2 text-sm text-dark/70">慢生活</span>
                  </div>
                  <span class="text-sm text-dark/60"><i class="fa-solid fa-eye mr-1"></i> 5.2万</span>
                </div>
                <div class="flex items-center justify-between">
                  <div class="flex space-x-2">
                    <span class="bg-neutral text-dark/70 text-xs px-3 py-1 rounded-full">城市</span>
                    <span class="bg-neutral text-dark/70 text-xs px-3 py-1 rounded-full">历史</span>
                  </div>
                  <span class="text-sm text-dark/60">2周前</span>
                </div>
              </div>
            </div>
            
            <!-- 视频卡片 4 -->
            <div class="video-card bg-white rounded-xl overflow-hidden shadow-lg">
              <div class="relative h-56 overflow-hidden">
                <img src="https://picsum.photos/id/76/800/600" alt="黄山云海日出" class="video-thumbnail w-full h-full object-cover">
                <div class="absolute inset-0 bg-gradient-to-t from-black/70 via-black/30 to-transparent"></div>
                <div class="absolute top-3 right-3 bg-black/70 text-white text-xs px-2 py-1 rounded">10:45</div>
                <div class="absolute inset-0 flex items-center justify-center">
                  <button class="play-button bg-primary/90 hover:bg-primary text-white w-14 h-14 rounded-full flex items-center justify-center shadow-lg">
                    <i class="fa-solid fa-play text-xl"></i>
                  </button>
                </div>
              </div>
              <div class="p-5">
                <h3 class="font-semibold text-dark text-lg mb-2 line-clamp-2">黄山云海日出 | 震撼心灵的自然奇观</h3>
                <div class="flex items-center justify-between mb-3">
                  <div class="flex items-center">
                    <img src="https://picsum.photos/id/64/100/100" alt="作者头像" class="w-8 h-8 rounded-full object-cover">
                    <span class="ml-2 text-sm text-dark/70">慢生活</span>
                  </div>
                  <span class="text-sm text-dark/60"><i class="fa-solid fa-eye mr-1"></i> 7.6万</span>
                </div>
                <div class="flex items-center justify-between">
                  <div class="flex space-x-2">
                    <span class="bg-neutral text-dark/70 text-xs px-3 py-1 rounded-full">自然风光</span>
                    <span class="bg-neutral text-dark/70 text-xs px-3 py-1 rounded-full">日出</span>
                  </div>
                  <span class="text-sm text-dark/60">3周前</span>
                </div>
              </div>
            </div>
            
            <!-- 视频卡片 5 -->
            <div class="video-card bg-white rounded-xl overflow-hidden shadow-lg">
              <div class="relative h-56 overflow-hidden">
                <img src="https://picsum.photos/id/87/800/600" alt="西安古城墙" class="video-thumbnail w-full h-full object-cover">
                <div class="absolute inset-0 bg-gradient-to-t from-black/70 via-black/30 to-transparent"></div>
                <div class="absolute top-3 right-3 bg-black/70 text-white text-xs px-2 py-1 rounded">9:22</div>
                <div class="absolute inset-0 flex items-center justify-center">
                  <button class="play-button bg-primary/90 hover:bg-primary text-white w-14 h-14 rounded-full flex items-center justify-center shadow-lg">
                    <i class="fa-solid fa-play text-xl"></i>
                  </button>
                </div>
              </div>
              <div class="p-5">
                <h3 class="font-semibold text-dark text-lg mb-2 line-clamp-2">西安古城墙 | 穿越千年的历史回响</h3>
                <div class="flex items-center justify-between mb-3">
                  <div class="flex items-center">
                    <img src="https://picsum.photos/id/64/100/100" alt="作者头像" class="w-8 h-8 rounded-full object-cover">
                    <span class="ml-2 text-sm text-dark/70">慢生活</span>
                  </div>
                  <span class="text-sm text-dark/60"><i class="fa-solid fa-eye mr-1"></i> 4.1万</span>
                </div>
                <div class="flex items-center justify-between">
                  <div class="flex space-x-2">
                    <span class="bg-neutral text-dark/70 text-xs px-3 py-1 rounded-full">历史</span>
                    <span class="bg-neutral text-dark/70 text-xs px-3 py-1 rounded-full">人文</span>
                  </div>
                  <span class="text-sm text-dark/60">1个月前</span>
                </div>
              </div>
            </div>
            
            <!-- 视频卡片 6 -->
            <div class="video-card bg-white rounded-xl overflow-hidden shadow-lg">
              <div class="relative h-56 overflow-hidden">
                <img src="https://picsum.photos/id/96/800/600" alt="杭州西湖" class="video-thumbnail w-full h-full object-cover">
                <div class="absolute inset-0 bg-gradient-to-t from-black/70 via-black/30 to-transparent"></div>
                <div class="absolute top-3 right-3 bg-black/70 text-white text-xs px-2 py-1 rounded">13:18</div>
                <div class="absolute inset-0 flex items-center justify-center">
                  <button class="play-button bg-primary/90 hover:bg-primary text-white w-14 h-14 rounded-full flex items-center justify-center shadow-lg">
                    <i class="fa-solid fa-play text-xl"></i>
                  </button>
                </div>
              </div>
              <div class="p-5">
                <h3 class="font-semibold text-dark text-lg mb-2 line-clamp-2">杭州西湖 | 淡妆浓抹总相宜的人间天堂</h3>
                <div class="flex items-center justify-between mb-3">
                  <div class="flex items-center">
                    <img src="https://picsum.photos/id/64/100/100" alt="作者头像" class="w-8 h-8 rounded-full object-cover">
                    <span class="ml-2 text-sm text-dark/70">慢生活</span>
                  </div>
                  <span class="text-sm text-dark/60"><i class="fa-solid fa-eye mr-1"></i> 6.3万</span>
                </div>
                <div class="flex items-center justify-between">
                  <div class="flex space-x-2">
                    <span class="bg-neutral text-dark/70 text-xs px-3 py-1 rounded-full">风景</span>
                    <span class="bg-neutral text-dark/70 text-xs px-3 py-1 rounded-full">文化</span>
                  </div>
                  <span class="text-sm text-dark/60">2个月前</span>
                </div>
              </div>
            </div>
          </div>
          
          <!-- 加载更多 -->
          <div class="text-center mt-12">
            <button id="load-more" class="inline-block bg-primary hover:bg-primary/90 text-white font-medium py-3 px-8 rounded-full transition-all duration-300 shadow-lg flex items-center justify-center mx-auto">
              <span>加载更多视频</span>
              <i class="fa-solid fa-spinner ml-2 animate-spin hidden"></i>
            </button>
          </div>
          
          <!-- 热门标签 -->
          <div class="mt-20">
            <h3 class="text-xl font-bold text-dark mb-6 text-center">热门标签</h3>
            <div class="flex flex-wrap justify-center gap-3">
              <a href="#" class="bg-white hover:bg-primary hover:text-white text-dark/70 px-5 py-2 rounded-full text-sm font-medium shadow-md hover:shadow-lg transition-all">
                #旅行攻略
              </a>
              <a href="#" class="bg-white hover:bg-primary hover:text-white text-dark/70 px-5 py-2 rounded-full text-sm font-medium shadow-md hover:shadow-lg transition-all">
                #美食探店
              </a>
              <a href="#" class="bg-white hover:bg-primary hover:text-white text-dark/70 px-5 py-2 rounded-full text-sm font-medium shadow-md hover:shadow-lg transition-all">
                #自然风光
              </a>
              <a href="#" class="bg-white hover:bg-primary hover:text-white text-dark/70 px-5 py-2 rounded-full text-sm font-medium shadow-md hover:shadow-lg transition-all">
                #城市探索
              </a>
              <a href="#" class="bg-white hover:bg-primary hover:text-white text-dark/70 px-5 py-2 rounded-full text-sm font-medium shadow-md hover:shadow-lg transition-all">
                #人文历史
              </a>
              <a href="#" class="bg-white hover:bg-primary hover:text-white text-dark/70 px-5 py-2 rounded-full text-sm font-medium shadow-md hover:shadow-lg transition-all">
                #户外探险
              </a>
              <a href="#" class="bg-white hover:bg-primary hover:text-white text-dark/70 px-5 py-2 rounded-full text-sm font-medium shadow-md hover:shadow-lg transition-all">
                #摄影技巧
              </a>
              <a href="#" class="bg-white hover:bg-primary hover:text-white text-dark/70 px-5 py-2 rounded-full text-sm font-medium shadow-md hover:shadow-lg transition-all">
                #民宿体验
              </a>
            </div>
          </div>
        </div>
      </section>
    </main>
    
    <!-- 底部导航栏 -->
    <nav class="fixed bottom-0 left-0 right-0 bg-white shadow-[0_-2px_10px_rgba(0,0,0,0.1)] z-40 md:hidden">
      <div class="flex justify-around items-center h-16">
        <a href="#" class="flex flex-col items-center justify-center text-dark/60 hover:text-primary transition-colors">
          <i class="fa-solid fa-home text-xl"></i>
          <span class="text-xs mt-1">首页</span>
        </a>
        <a href="#" class="flex flex-col items-center justify-center text-dark/60 hover:text-primary transition-colors">
          <i class="fa-solid fa-map-marker-alt text-xl"></i>
          <span class="text-xs mt-1">旅行</span>
        </a>
        <a href="#" class="flex flex-col items-center justify-center text-primary">
          <i class="fa-solid fa-video text-xl"></i>
          <span class="text-xs mt-1">视频</span>
        </a>
        <a href="#" class="flex flex-col items-center justify-center text-dark/60 hover:text-primary transition-colors">
          <i class="fa-solid fa-images text-xl"></i>
          <span class="text-xs mt-1">照片</span>
        </a>
        <a href="#" class="flex flex-col items-center justify-center text-dark/60 hover:text-primary transition-colors">
          <i class="fa-solid fa-calendar text-xl"></i>
          <span class="text-xs mt-1">日历</span>
        </a>
      </div>
    </nav>
    
    <!-- 页脚 -->
    <footer class="bg-dark text-white/70 py-12 md:py-16 mt-auto md:mt-0 md:mb-0 mb-16">
      <div class="container mx-auto px-4">
        <div class="grid grid-cols-1 md:grid-cols-4 gap-8">
          <div class="md:col-span-2">
            <h3 class="text-xl font-bold text-white mb-4 flex items-center">
              <i class="fa-solid fa-paper-plane mr-2"></i>
              慢生活
            </h3>
            <p class="mb-6">记录旅行中的每一个精彩瞬间，分享生活中的点滴感悟。慢下来，感受生活的美好。</p>
            <div class="flex space-x-4">
              <a href="#" class="bg-white/10 hover:bg-primary text-white w-10 h-10 rounded-full flex items-center justify-center transition-colors">
                <i class="fa-brands fa-weibo"></i>
              </a>
              <a href="#" class="bg-white/10 hover:bg-primary text-white w-10 h-10 rounded-full flex items-center justify-center transition-colors">
                <i class="fa-brands fa-wechat"></i>
              </a>
              <a href="#" class="bg-white/10 hover:bg-primary text-white w-10 h-10 rounded-full flex items-center justify-center transition-colors">
                <i class="fa-brands fa-instagram"></i>
              </a>
              <a href="#" class="bg-white/10 hover:bg-primary text-white w-10 h-10 rounded-full flex items-center justify-center transition-colors">
                <i class="fa-brands fa-youtube"></i>
              </a>
            </div>
          </div>
          
          <div>
            <h4 class="text-lg font-semibold text-white mb-4">快速链接</h4>
            <ul class="space-y-2">
              <li><a href="#" class="hover:text-primary transition-colors">首页</a></li>
              <li><a href="#" class="hover:text-primary transition-colors">旅行足迹</a></li>
              <li><a href="#" class="hover:text-primary transition-colors">视频分享</a></li>
              <li><a href="#" class="hover:text-primary transition-colors">照片墙</a></li>
              <li><a href="#" class="hover:text-primary transition-colors">日历</a></li>
              <li><a href="#" class="hover:text-primary transition-colors">关于我</a></li>
            </ul>
          </div>
          
          <div>
            <h4 class="text-lg font-semibold text-white mb-4">联系方式</h4>
            <ul class="space-y-2">
              <li class="flex items-center"><i class="fa-solid fa-envelope mr-2"></i> contact@manlife.com</li>
              <li class="flex items-center"><i class="fa-solid fa-phone mr-2"></i> +86 123 4567 8910</li>
              <li class="flex items-center"><i class="fa-solid fa-map-marker-alt mr-2"></i> 中国，云南，丽江</li>
            </ul>
          </div>
        </div>
        
        <div class="border-t border-white/10 mt-10 pt-6 text-center text-sm">
          <p>&copy; 2024 慢生活 · 旅行日记. 保留所有权利.</p>
        </div>
      </div>
    </footer>
  </div>
  
  <script>
    // 移动端菜单切换
    const menuToggle = document.getElementById('menu-toggle');
    const mobileMenu = document.getElementById('mobile-menu');
    
    menuToggle.addEventListener('click', () => {
      mobileMenu.classList.toggle('hidden');
    });
    
    // 导航栏滚动效果
    const nav = document.querySelector('nav');
    
    window.addEventListener('scroll', () => {
      if (window.scrollY > 50) {
        nav.classList.add('py-2', 'shadow-md');
        nav.classList.remove('py-4');
      } else {
        nav.classList.add('py-4');
        nav.classList.remove('py-2', 'shadow-md');
      }
    });
    
    // 平滑滚动
    document.querySelectorAll('a[href^="#"]').forEach(anchor => {
      anchor.addEventListener('click', function (e) {
        e.preventDefault();
        
        const targetId = this.getAttribute('href');
        const targetElement = document.querySelector(targetId);
        
        if (targetElement) {
          window.scrollTo({
            top: targetElement.offsetTop - 80,
            behavior: 'smooth'
          });
          
          // 关闭移动端菜单
          if (!mobileMenu.classList.contains('hidden')) {
            mobileMenu.classList.add('hidden');
          }
        }
      });
    });
    
    // 加载更多视频
    const loadMoreBtn = document.getElementById('load-more');
    const videoGrid = document.querySelector('.grid');
    
    loadMoreBtn.addEventListener('click', () => {
      // 显示加载动画
      loadMoreBtn.querySelector('span').textContent = '加载中...';
      loadMoreBtn.querySelector('i').classList.remove('hidden');
      
      // 模拟加载延迟
      setTimeout(() => {
        // 重置按钮状态
        loadMoreBtn.querySelector('span').textContent = '加载更多视频';
        loadMoreBtn.querySelector('i').classList.add('hidden');
        
        // 这里可以添加实际加载更多视频的逻辑
        alert('已加载全部视频');
      }, 1500);
    });
  </script>
</body>
</html>
  